package com.system.insurance.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * <p>
 * 微信/PC用户
 * </p>
 *
 * @author WS
 * @since 2024-05-09
 */
@Data
@ApiModel(description = "微信/PC用户")
@TableName("applet_user")
//@EqualsAndHashCode(callSuper = false)
public class AppletUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    /**
//     * 主键
//     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * openId唯一标识
     */
    @ApiModelProperty(value = "openId唯一标识")
    @TableField("openid")
    private String openid;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    @TableField("nick_name")
    private String nickName;

    /**
     *名字
     */
    @ApiModelProperty(value = "名字")
    @TableField("name")
    private String name;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    @TableField("avatar")
    private String avatar;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    @TableField("phone")
    private String phone;

    /**
     * 默认0，状态1跳转报价方
     */
    @ApiModelProperty(value = "默认0，状态1跳转报价方")
    @TableField("start")
    private Integer start;

    /**
     * 成单数量
     */
    @ApiModelProperty(value = "成单数量")
    @TableField("integral")
    private Integer integral;

    /**
     * 会员等级
     */
    @ApiModelProperty(value = "会员等级")
    @TableField("member")
    private Integer member;

    /**
     * 启动状态0默认，1禁用
     */
    @ApiModelProperty(value = "启动状态0默认，1禁用")
    @TableField("initiate_mode")
    private Integer initiateMode;

    /**
     * 生成用户分享二维码
     */
    @ApiModelProperty(value = "生成用户分享二维码")
    @TableField("qr_code")
    private String qrCode;

    /**
     * pc端密码
     */
    @ApiModelProperty(value = "pc端密码")
    @TableField("password")
    private String passWord;


    /**
     * 就职公司
     */
    @ApiModelProperty(value = "就职公司")
    @TableField("company")
    private String company;

    /**
     * 询价查看次数
     */
    @ApiModelProperty(value = "询价查看次数")
    @TableField("num")
    private Integer num;

    /**
     * 报价发布次数
     */
    @ApiModelProperty(value = "报价发布次数")
    @TableField("bjnum")
    private Integer bjnum;

    /**
     * 累计充值金额
     */
    @ApiModelProperty(value = "累计充值金额")
    @TableField("price")
    private BigDecimal price;

    /**
     * 总分佣
     */
    @ApiModelProperty(value = "总分佣")
    @TableField("overall_giveaway")
    private BigDecimal overallGiveaway;

    /**
     * 总提现
     */
    @ApiModelProperty(value = "总提现")
    @TableField("total_withdrawal")
    private BigDecimal totalWithdrawal;


    /**
     * 分销人数
     */
    @ApiModelProperty(value = "分销人数")
    @TableField("number_of_people")
    private BigDecimal NumberOfPeople;

    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号")
    @TableField("id_number")
    private String idNumber;

    /**
     * 身份证正反面
     */
    @ApiModelProperty(value = "身份证正反面")
    @TableField("green_studio")
    private String greenStudio;




//    /**
//     * 创建时间
//     */
//    private LocalDateTime createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDateTime updateTime;


}
